#ifndef	_READPNG_H_
#define	_READPNG_H_
#include "libpng/png.h"
#include "GL/glut.h"
#include "libpng/png.h"
#include "libpng12/png.h"
class gl_texture_t{
public:
    GLsizei width;
    GLsizei height;
    GLenum format;
    GLint internalFormat;
    GLuint id;
    GLubyte *texels;
};
/* Texture id for the demo */
void GetPNGtextureInfo (int color_type, struct gl_texture_t *texinfo);
gl_texture_t *ReadPNGFromFile(const char *filename);
GLuint loadPNGTexture(const char *filename);
#endif
